package com.kartoshka.events 
{
	import flash.events.Event;

	/**
	 * @author Alexander Zats, 2009
	 */
	public class KartoshkaEvent extends Event 
	{
		//TODO Thare are same event types in basic Event class. Shouldn't more specify them?!
		public static const RESIZE : String = "resize";
		public static const MOVE : String = "move";

		public function KartoshkaEvent( type : String, bubbles : Boolean = false, cancelable : Boolean = false )
		{
			super( type, bubbles, cancelable );
		}

		override public function clone() : Event
		{
			return new KartoshkaEvent( type, bubbles, cancelable );
		}

		override public function toString() : String
		{
			return "[KartoshkaEvent ( type=" + type + " )]";
		}
	}
}